]> dgit.raspbian.org Git - gnome-shell.git/commit
notificationDaemon: Guard against invalid D-Bus object paths
authorKrzesimir Nowak <krzesimir@kinvolk.io>
Fri, 18 Nov 2016 14:52:46 +0000 (15:52 +0100)
committerMario Sanchez Prada <mario@endlessm.com>
Mon, 25 Sep 2017 14:57:20 +0000 (15:57 +0100)
commit1ef8722c52d8e88041b3af61c0ee082c2b40dee7
tree792eed0b9c16b5700ad7cc0c4a37b13852c56324
parentce7ff27c0ce100338b472b42068fd9808fdcf27c
notificationDaemon: Guard against invalid D-Bus object paths

When making any D-Bus call through the GDBus' proxy wrapper with an
invalid D-Bus object path, gnome-shell hangs.

Supposedly FdoApplicationProxy constructor should validate the passed
D-Bus object path and throw an error if the path is invalid. Since it
does not do that, we work it around by making sure that the deduced
D-Bus object path is valid or throw an exception if the path is not.

https://bugzilla.gnome.org/show_bug.cgi?id=787902
js/ui/notificationDaemon.js